﻿using System;

namespace Zyg.SSO.Configuration
{
    public class ChapterConfigurationSectionGroup : System.Configuration.ConfigurationSectionGroup
    {
        private const string ProvidersItem = "providers";
        private const string ServicesItem = "services";

        [System.Configuration.ConfigurationProperty(ProvidersItem, IsRequired = true)]
        public virtual ProvidersParagraphConfigurationSection Providers
        {
            get
            {
                return base.Sections[ProvidersItem] as ProvidersParagraphConfigurationSection;
            }
        }

        [System.Configuration.ConfigurationProperty(ServicesItem, IsRequired = true)]
        public virtual ServicesParagraphConfigurationSection Services
        {
            get
            {
                return base.Sections[ServicesItem] as ServicesParagraphConfigurationSection;
            }
        }
    }
}
